#!/usr/bin/bash

#lotus dameon 守护线程启动 default port : 1234 /35741/38779
#log /tmpdir/log/lotus-daemon.log
#log /tmpdir/log/lotus-sync-wait.log

rm ~/lotusDir/log/lotus-daemon.log
touch ~/lotusDir/log/lotus-daemon.log
echo "启动lotus daemon守护程序"
nohup lotus daemon >> ~/lotusDir/log/lotus-daemon.log 2>&1 &
echo "启动lotus daemon 完成"

echo "lotus daemon started , 监控日志 : tail -f ~/lotusDir/log/lotus-daemon.log"


